<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link href="/static/css/bootstrap.css" rel="stylesheet">
    <script type="text/javascript" src="/static/js/jquery-3.2.1.js"></script>
    <script src="/static/js/echarts.js"></script>
</head>
<body>
<center>
    <h1>列表页面</h1>
    <table class="table">
        <tr>
        <td>商品信息</td>
        <td>单价</td>
        <td>积分</td>
        <td>购买票数</td>
        <td>合计</td>
        <td>操作</td>
        </tr>
        <c:forEach items="${list}" var="li">
            <tr>
                <td>
                    <img src="${li.pic}">
                    ${li.name}<br>
                    ${li.address}<br>
                    ${li.time}<br>
                    ${li.price}
                </td>
                <td>${li.prices}</td>
                <td>${li.score}</td>
                <td>${li.num}</td>
                <td>${li.sum}</td>
                <td>×</td>
            </tr>
        </c:forEach>
    </table>
共一件商品,价格为999元
</center>
</body>
</html>
